﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BackOfficeApplication.Models
{
    public class ArticleModel
    {
        public ArticleModel()
        {
            Categories = new BindingList<ComboBoxDto>();
            SelectedCategory = new ComboBoxDto();
            Images = new BindingList<ImageDto>();
            Clips = new BindingList<ClipDto>();
        }

        public int Id { get; set; }
        public string Title { get; set; }
        public string Short { get; set; }
        public BindingList<ComboBoxDto> Categories { get; set; }
        public ComboBoxDto SelectedCategory { get; set; }
        public byte[] Content { get; set; }
        public BindingList<ImageDto> Images { get; set; }
        public BindingList<ClipDto> Clips { get; set; }
        public bool Publish { get; set; }
    }
}
